import axios from 'axios';
import {ALL_SERVICE_API} from '../api';

// 获取列表展示数据
export const searchVersions = params => {
  return axios.get(ALL_SERVICE_API + '/versions', {params: params});
};

// 保存版本信息
export const saveVersion = (params) => {
  return axios.post(ALL_SERVICE_API + '/versions', params);
};
